/**
 *	\file AKPlayer.h
 *  
 *  \section desc_sec Description
 *  Description
 *  
 *  \if copyright
 *  	Copyright 2008 Ben Chen. All rights reserved.
 *  \endif
 *  
 *  \section hist_sec Change History:
 *  	-	1/13/08		BC		Created this file
 *  
 *  <hr>
 *  \addtogroup AnimalKingdom
 *  @{
 */

#import "AKPlugIn.h"

@protocol AKPlayer

//- (id)initWithSide:(AKSideIndex)anIndex;	// we provide this init method so that side won't be changed after creation

- (void)backToInitialState;

- (BOOL)thinkNextMove;

- (void)stopThinking;

- (BOOL)performMove:(AKMove)newMove;

@optional

- (BOOL)canUndoLastMove;

- (BOOL)undoLastMove;

#pragma mark KVC methods

@required
@property (readwrite, assign)	AKSideIndex	side;
@property (readonly)			AKMove		bestMove;

@end

/** @} */